<template>
  <div class="set-time">
    <el-tabs v-model="activeName">
      <el-tab-pane label="约排管理" name="1">
        <manage v-if="activeName === '1'"/>
      </el-tab-pane>
      <el-tab-pane label="课程管理" name="2">
        <subjectmanage v-if="activeName === '2'"/>
      </el-tab-pane>
      <el-tab-pane label="约排统计" name="3">
        <public v-if="activeName === '3'"/>
      </el-tab-pane>
      <el-tab-pane label="系统排课" name="4">
        <system v-if="activeName === '4'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Manage from './components/settime/manage'
import Subjectmanage from './components/settime/subjectmanage'
import Public from './components/settime/public'
import System from './components/settime/system'
export default {
  components: {
    Manage,
    Subjectmanage,
    Public,
    System
  },
  data() {
    return {
      activeName: '1'
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.set-time {
  padding: 0px 20px;
}
</style>

